<div class="menu" id="menu">
    <div class="layui-collapse" lay-accordion>
        {foreach $left as $k=>$left_v}
        <div class="layui-colla-item">
            <h2 class="layui-colla-title">{$left_v.title}</h2>
            <div class="layui-colla-content  layui-show">
                <ul class="layui-nav layui-nav-tree">
                    {foreach $left_v['lists'] as $k=>$lists_v}
                    <li class="layui-nav-item"><a href="{$lists_v['leftweb']}">{$lists_v['title']}</a></li>
                    {/foreach}
                </ul>
            </div>
        </div>
{/foreach}
</div>
</div>